package com.campus.dao;
import com.campus.model.Role;
import com.campus.model.User;

import java.util.List;

/**
 * @author HLQ
 * @date 2024/11/17 23:54
 */
public interface UserDao {
    public int addUser(User user);
    public int deleteUserById(int id);
    public int updateUserById(User user);
    public User queryUserById(int id);
    public User queryUserByName(String name);
    public User selectOne(String name, String password);


}
